From: job Date: Wed, 18 Jan 2023 18:12:20 +0000 (+0000) Subject: Require version 4 UUIDs as RRDP session IDs X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bebffd5a4ddf6519ce45f52209f75309c08e2508;p=openbsd Require version 4 UUIDs as RRDP session IDs OK tb@ --- 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 * @@ -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: