diff options
author | Job Snijders <job@cvs.openbsd.org> | 2023-01-18 18:12:21 +0000 |
---|---|---|
committer | Job Snijders <job@cvs.openbsd.org> | 2023-01-18 18:12:21 +0000 |
commit | 88e5cfef5e1a9af56170f276332f8936a911dfba (patch) | |
tree | e6d47fcb7af81de33e9521c8346212d7777845fc /usr.sbin/rpki-client/validate.c | |
parent | 5915d54490620c250197e2f5eba6c7224e0a2a41 (diff) |
Require version 4 UUIDs as RRDP session IDs
OK tb@
Diffstat (limited to 'usr.sbin/rpki-client/validate.c')
-rw-r--r-- | usr.sbin/rpki-client/validate.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/rpki-client/validate.c b/usr.sbin/rpki-client/validate.c index 096681d8675..223b9c52da3 100644 --- a/usr.sbin/rpki-client/validate.c +++ b/usr.sbin/rpki-client/validate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: validate.c,v 1.53 2023/01/18 00:27:10 tb Exp $ */ +/* $OpenBSD: validate.c,v 1.54 2023/01/18 18:12:20 job Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -566,7 +566,6 @@ valid_uuid(const char *s) if (s[n] != '-') return 0; break; -#ifdef NOTYET /* World is not yet ready to enfoce UUID version and variant */ /* Check UUID is version 4 */ case 14: if (s[n] != '4') @@ -578,7 +577,6 @@ valid_uuid(const char *s) s[n] != 'A' && s[n] != 'b' && s[n] != 'B') return 0; break; -#endif case 36: return s[n] == '\0'; default: |