summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-02-17 09:55:07 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-02-17 09:55:07 +0000
commitf1957a53189d67745984b5381f886d577378e35c (patch)
treea214e35fad1c21d52cb252dae8ff31005569078d
parented8b419466da25e9efcd564f06a94c7195351d86 (diff)
downloadgnutls-f1957a53189d67745984b5381f886d577378e35c.tar.gz
*** empty log message ***
-rw-r--r--lib/auth_rsa.c2
-rw-r--r--lib/gnutls_dh.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/auth_rsa.c b/lib/auth_rsa.c
index 33c9be5103..9e0be90cb1 100644
--- a/lib/auth_rsa.c
+++ b/lib/auth_rsa.c
@@ -209,7 +209,7 @@ int proc_rsa_client_kx(GNUTLS_STATE state, opaque * data, int data_size)
|| _gnutls_get_adv_version_minor(state) !=
plaintext.data[1]) {
gnutls_assert();
- ret = GNUTLS_E_DECRYPTION_FAILED;
+ return GNUTLS_E_DECRYPTION_FAILED;
}
state->gnutls_key->key.data = plaintext.data;
diff --git a/lib/gnutls_dh.c b/lib/gnutls_dh.c
index 48f64a574b..8894051c44 100644
--- a/lib/gnutls_dh.c
+++ b/lib/gnutls_dh.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000,2001 Nikos Mavroyanopoulos
+ * Copyright (C) 2000,2001,2002 Nikos Mavroyanopoulos
*
* This file is part of GNUTLS.
* someday was part of gsti