diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2024-03-25 12:10:58 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2024-03-25 12:10:58 +0000 |
commit | f32f453ae08b479f22325126a7bccddc6cf9ae6c (patch) | |
tree | 8720a55a039e07dede11ee85a8272041000c04c4 /lib | |
parent | 9f87d2433ec63a7763a6ccd1e1ab539bd1828f10 (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.c | 4 |
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)); |