summaryrefslogtreecommitdiff
path: root/lib/auth_rsa.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-11-13 12:02:17 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-11-13 12:02:17 +0000
commit1d01ac626c51fbb6a247a5678a1fce0887ee856b (patch)
tree61fc5b37457dad8905507f831aa4e5593cd2f084 /lib/auth_rsa.c
parent07386f65480afa58f8447eea1a41094e6dd93b83 (diff)
downloadgnutls-1d01ac626c51fbb6a247a5678a1fce0887ee856b.tar.gz
more non blocking IO fixes
Diffstat (limited to 'lib/auth_rsa.c')
-rw-r--r--lib/auth_rsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/auth_rsa.c b/lib/auth_rsa.c
index cd45871362..ee4c838750 100644
--- a/lib/auth_rsa.c
+++ b/lib/auth_rsa.c
@@ -114,7 +114,8 @@ return ret;
if (plaintext.size != TLS_MASTER_SIZE) { /* WOW */
RANDOMIZE_KEY(state->gnutls_key->key, secure_malloc);
} else {
- if (_gnutls_get_adv_version_major( state) != plaintext.data[0] || _gnutls_get_adv_version_minor( state) != plaintext.data[1]) {
+ if (_gnutls_get_adv_version_major( state) != plaintext.data[0]
+ || _gnutls_get_adv_version_minor( state) != plaintext.data[1]) {
gnutls_assert();
ret = GNUTLS_E_DECRYPTION_FAILED;
}