error_to_alert() now always return an alert number. This is to avoid sending illegal...
authorNikos Mavrogiannopoulos <nmav@crystal.(none)>
Sat, 6 Oct 2007 18:21:22 +0000 (21:21 +0300)
committerNikos Mavrogiannopoulos <nmav@crystal.(none)>
Sat, 6 Oct 2007 18:21:22 +0000 (21:21 +0300)
commit96183cb39b38e7f5cf0b58929ef5868ed5639096
treed2941d33c9efafdd9d38e07850bb1cace0ace51e
parent3fbfc5c212c2ba6322edfd65cb4cc4fc87f410d6
error_to_alert() now always return an alert number. This is to avoid sending illegal values
when the return value is not checked (commonplace).
lib/gnutls_alert.c