Add ERR_clear_last_mark()
authorRichard Levitte <levitte@openssl.org>
Sat, 5 Aug 2017 19:47:00 +0000 (21:47 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 15 Aug 2017 12:26:12 +0000 (14:26 +0200)
commite1a4ff7678ef8fd2d67416f84a7408e826c7dccc
tree52aedb8e4dcdc1e81efc3628514af1fd36e18dfb
parent9237173eeba0a99de0d7a50f7b4a6149e983f866
Add ERR_clear_last_mark()

This allows callers to set a mark, and then clear it without removing
the errors.  Useful in case an error is encountered that should be
returned up the call stack.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4094)
CHANGES
crypto/err/err.c
include/openssl/err.h
util/libcrypto.num