projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71d525c
)
CRYPTO_get_ex_new_index would never return an error.
author
Richard Levitte
<levitte@openssl.org>
Mon, 16 Oct 2000 06:01:41 +0000
(06:01 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 16 Oct 2000 06:01:41 +0000
(06:01 +0000)
crypto/ex_data.c
patch
|
blob
|
history
diff --git
a/crypto/ex_data.c
b/crypto/ex_data.c
index 1ee88da2a83b5d415187ab735c0f8c71ad544a64..739e543d782c57b6c90d2614c60cb16833fb4215 100644
(file)
--- a/
crypto/ex_data.c
+++ b/
crypto/ex_data.c
@@
-101,7
+101,7
@@
int CRYPTO_get_ex_new_index(int idx, STACK_OF(CRYPTO_EX_DATA_FUNCS) **skp, long
ret=idx;
err:
MemCheck_on();
- return(
idx
);
+ return(
ret
);
}
int CRYPTO_set_ex_data(CRYPTO_EX_DATA *ad, int idx, void *val)