summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2024-03-25 12:10:58 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2024-03-25 12:10:58 +0000
commitf32f453ae08b479f22325126a7bccddc6cf9ae6c (patch)
tree8720a55a039e07dede11ee85a8272041000c04c4 /lib
parent9f87d2433ec63a7763a6ccd1e1ab539bd1828f10 (diff)
Revert r1.13 since it currently breaks openssl-ruby regress tests.
ok tb@
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/x509/x509rset.c4
1 files 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));