Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/evp/evp.c')
-rw-r--r--crypto/evp/evp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/evp/evp.c b/crypto/evp/evp.c
index ee207f9b..3b4b05bb 100644
--- a/crypto/evp/evp.c
+++ b/crypto/evp/evp.c
@@ -108,9 +108,9 @@ void EVP_PKEY_free(EVP_PKEY *pkey) {
OPENSSL_free(pkey);
}
-EVP_PKEY *EVP_PKEY_up_ref(EVP_PKEY *pkey) {
+int EVP_PKEY_up_ref(EVP_PKEY *pkey) {
CRYPTO_refcount_inc(&pkey->references);
- return pkey;
+ return 1;
}
int EVP_PKEY_is_opaque(const EVP_PKEY *pkey) {