From d9a2a89a17869cba4446b6d5437005871e325a10 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 21 May 2003 06:50:51 +0000 Subject: [PATCH] I have no idea how I cut away that piece of text... --- crypto/store/str_lib.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crypto/store/str_lib.c b/crypto/store/str_lib.c index 9f59398a68..a9f302b2c0 100644 --- a/crypto/store/str_lib.c +++ b/crypto/store/str_lib.c @@ -445,7 +445,11 @@ EVP_PKEY *STORE_get_private_key(STORE *s, OPENSSL_ITEM attributes[], REF_PRINT("EVP_PKEY",data); #endif pkey = object->data.key; - STORE_OBJECT_free(object);TORE *s, EVP_PKEY *data, OPENSSL_ITEM attributes[], + STORE_OBJECT_free(object); + return pkey; + } + +int STORE_store_private_key(STORE *s, EVP_PKEY *data, OPENSSL_ITEM attributes[], OPENSSL_ITEM parameters[]) { STORE_OBJECT *object = STORE_OBJECT_new(); -- 2.25.1