artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d56179
)
Fix EVP_PKEY_up_ref() - must have hit ^X somehow
author
tb
<tb@openbsd.org>
Mon, 25 Dec 2023 21:36:05 +0000
(21:36 +0000)
committer
tb
<tb@openbsd.org>
Mon, 25 Dec 2023 21:36:05 +0000
(21:36 +0000)
lib/libcrypto/evp/p_lib.c
patch
|
blob
|
history
diff --git
a/lib/libcrypto/evp/p_lib.c
b/lib/libcrypto/evp/p_lib.c
index
b4f6490
..
6cecad2
100644
(file)
--- a/
lib/libcrypto/evp/p_lib.c
+++ b/
lib/libcrypto/evp/p_lib.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: p_lib.c,v 1.4
4 2023/12/25 21:33:50
tb Exp $ */
+/* $OpenBSD: p_lib.c,v 1.4
5 2023/12/25 21:36:05
tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@
-211,7
+211,7
@@
EVP_PKEY_new(void)
int
EVP_PKEY_up_ref(EVP_PKEY *pkey)
{
- return CRYPTO_add(&pkey->references, 1, CRYPTO_LOCK_EVP_PKEY) >
0
;
+ return CRYPTO_add(&pkey->references, 1, CRYPTO_LOCK_EVP_PKEY) >
1
;
}
static void