Skip to content

Commit 924d01b

Browse files
committed
error.h: mark WS_MATCH_UA_KEY_ID_E retired
Nothing assigns or returns WS_MATCH_UA_KEY_ID_E any more; the last producer went away when a non-matching server-sig-algs list stopped failing the connection. The value and its GetErrorString() case stay for ABI stability, so say so beside the value.
1 parent 4862fdf commit 924d01b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎wolfssh/error.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ enum WS_ErrorCodes {
127127
WS_CERT_PROFILE_E = -1086, /* Cert doesn't meet profile reqs */
128128
WS_CERT_KEY_SIZE_E = -1087, /* Key size error */
129129
WS_CTX_KEY_COUNT_E = -1088, /* Adding too many private keys */
130+
/* WS_MATCH_UA_KEY_ID_E is retired: no longer returned, kept so an
131+
* application naming it still builds. Do not reuse the value. */
130132
WS_MATCH_UA_KEY_ID_E = -1089, /* Match user auth key key fail */
131133
WS_KEY_AUTH_MAGIC_E = -1090, /* OpenSSH key auth magic check fail */
132134
WS_KEY_CHECK_VAL_E = -1091, /* OpenSSH key check value fail */

0 commit comments

Comments
 (0)