projects
/
crypto.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Save the key length also when only private key is set to SilcPKCS.
[crypto.git]
/
lib
/
silccrypt
/
rsa.c
diff --git
a/lib/silccrypt/rsa.c
b/lib/silccrypt/rsa.c
index 4b7db8ff3c0df3c4c741861a82e0f10ed59ca165..fec389fefacdb2b8420426fedc622fe64ea85098 100644
(file)
--- a/
lib/silccrypt/rsa.c
+++ b/
lib/silccrypt/rsa.c
@@
-327,7
+327,7
@@
SILC_PKCS_API_SET_PRIVATE_KEY(rsa)
key->prv_set = TRUE;
key->pub_set = TRUE;
- return
TRUE
;
+ return
key->bits
;
}
SILC_PKCS_API_CONTEXT_LEN(rsa)