| commit | 207bb4391f0551bd51115031bc48a8f2f97ba980 | [log] [tgz] |
|---|---|---|
| author | David Benjamin <davidben@chromium.org> | Mon Jun 29 12:37:55 2015 -0400 |
| committer | Adam Langley <agl@google.com> | Thu Jul 16 02:03:03 2015 +0000 |
| tree | 614ea2d23050879a8e8fd2ebaae5b3e27f7a9dc6 | |
| parent | 3570d73bf1261340c0c3039553cb4ef690f3d8ba [diff] [blame] |
ERR_LIB_USER should be the last error. Consumers sometimes use ERR_LIB_USER + <favorite number> instead of ERR_get_next_error_library. To avoid causing them grief, keep ERR_LIB_USER last. Change-Id: Id19ae7836c41d5b156044bd20d417daf643bdda2 Reviewed-on: https://boringssl-review.googlesource.com/5290 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/include/openssl/err.h b/include/openssl/err.h index bf1cf47..0a90b0e 100644 --- a/include/openssl/err.h +++ b/include/openssl/err.h
@@ -430,8 +430,8 @@ ERR_LIB_HMAC, ERR_LIB_DIGEST, ERR_LIB_CIPHER, - ERR_LIB_USER, ERR_LIB_HKDF, + ERR_LIB_USER, ERR_NUM_LIBS };