From e226f85ad9fb64f244443172658a0a9c93656f1d Mon Sep 17 00:00:00 2001 From: jsing Date: Mon, 25 Mar 2024 12:10:57 +0000 Subject: [PATCH] Revert r1.13 since it currently breaks openssl-ruby regress tests. ok tb@ --- lib/libcrypto/x509/x509rset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libcrypto/x509/x509rset.c b/lib/libcrypto/x509/x509rset.c index 9154e338454..b05b2a1c91c 100644 --- a/lib/libcrypto/x509/x509rset.c +++ b/lib/libcrypto/x509/x509rset.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509rset.c,v 1.13 2024/03/25 11:27:00 job Exp $ */ +/* $OpenBSD: x509rset.c,v 1.14 2024/03/25 12:10:57 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -68,7 +68,7 @@ int X509_REQ_set_version(X509_REQ *x, long version) { - if (x == NULL || version != 0) + if (x == NULL) return (0); x->req_info->enc.modified = 1; return (ASN1_INTEGER_set(x->req_info->version, version)); -- 2.20.1