From: jsing Date: Mon, 25 Mar 2024 12:10:57 +0000 (+0000) Subject: Revert r1.13 since it currently breaks openssl-ruby regress tests. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e226f85ad9fb64f244443172658a0a9c93656f1d;p=openbsd Revert r1.13 since it currently breaks openssl-ruby regress tests. ok tb@ --- 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));