assert_not_ROK is broken in 5.8.1
Karel Miko
6 years ago
4 | 4 |
- Crypt::PK::ECC - improved import of pkcs#8 private keys
|
5 | 5 |
- fix #28 Apple's APNS pkcs8 auth key import fails (Crypt::PK::ECC)
|
6 | 6 |
- new Crypt::Digest::Keccak(224|256|384|512)
|
|
7 |
- fix cpantesters failure (5.8.1 related)
|
7 | 8 |
|
8 | 9 |
0.058 2018-02-27
|
9 | 10 |
- fix: decode_b58b + invalid input
|
6 | 6 |
#define NEED_sv_2pv_flags_GLOBAL
|
7 | 7 |
#define NEED_newRV_noinc_GLOBAL
|
8 | 8 |
#include "ppport.h"
|
|
9 |
|
|
10 |
/* assert_not_ROK is broken in 5.8.1 */
|
|
11 |
#if PERL_VERSION == 8 && PERL_SUBVERSION == 1
|
|
12 |
# undef assert_not_ROK
|
|
13 |
# if defined(__GNUC__) && !defined(PERL_GCC_BRACE_GROUPS_FORBIDDEN)
|
|
14 |
# define assert_not_ROK(sv) ({assert(!SvROK(sv) || !SvRV(sv));}),
|
|
15 |
# else
|
|
16 |
# define assert_not_ROK(sv)
|
|
17 |
# endif
|
|
18 |
#endif
|
9 | 19 |
|
10 | 20 |
#undef LTC_SOURCE
|
11 | 21 |
#include "tomcrypt.h"
|