diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-03-02 17:53:55 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-03-07 22:06:46 +0100 |
commit | ee160c008ee1f88bf997b0bb4ebfadd230893c54 (patch) | |
tree | c7fa30b5db2d0a8b0ea852f22d1ce07b189ad410 | |
parent | 9108068c252db468110a2113bf31760ecb677964 (diff) | |
download | gnutls-ee160c008ee1f88bf997b0bb4ebfadd230893c54.tar.gz |
alert: GNUTLS_E_PK_INVALID_PUBKEY maps to GNUTLS_A_ILLEGAL_PARAMETER
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | lib/alert.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/alert.c b/lib/alert.c index 0aa92e314e..8b262b7b43 100644 --- a/lib/alert.c +++ b/lib/alert.c @@ -212,6 +212,7 @@ int gnutls_error_to_alert(int err, int *level) break; case GNUTLS_E_RECEIVED_ILLEGAL_PARAMETER: case GNUTLS_E_ILLEGAL_SRP_USERNAME: + case GNUTLS_E_PK_INVALID_PUBKEY: ret = GNUTLS_A_ILLEGAL_PARAMETER; _level = GNUTLS_AL_FATAL; break; |