diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-11-30 21:05:02 +0100 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-11-30 21:59:46 +0100 |
commit | e9aae3e5cb63367c05f9aa38218a2669f00b8dbe (patch) | |
tree | 5c5646ad7b72b532d108b69c004fec65caa37aa0 | |
parent | a4427401d8bcb95d07ee0d48b8dce8d1ad70394d (diff) | |
download | ncrypto-e9aae3e5cb63367c05f9aa38218a2669f00b8dbe.tar.gz ncrypto-e9aae3e5cb63367c05f9aa38218a2669f00b8dbe.tar.xz ncrypto-e9aae3e5cb63367c05f9aa38218a2669f00b8dbe.zip |
Beautify
-rw-r--r-- | lib/ncrypto_nss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ncrypto_nss.c b/lib/ncrypto_nss.c index e22c65a..518a4f9 100644 --- a/lib/ncrypto_nss.c +++ b/lib/ncrypto_nss.c @@ -782,8 +782,8 @@ ncr_public_key_create_rsa (struct ncr_public_key **key, spki.subjectPublicKey.data = NULL; spki.subjectPublicKey.len = 0; - if (SEC_ASN1EncodeItem(NULL, &spki.subjectPublicKey, &der_input, - rsa_public_key_asn1_template) == NULL) + if (SEC_ASN1EncodeItem (NULL, &spki.subjectPublicKey, &der_input, + rsa_public_key_asn1_template) == NULL) return CKR_HOST_MEMORY; /* spki->subjectPublicKey is encoded as BIT_STRING, so "len" needs to be a number of _bits_. */ |