commit | 3837daec9eeb63889b22e79454dce1b8154f1a40 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Sep 12 01:39:07 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Thu Sep 12 11:57:01 2013 +0200 |
tree | 9bfabe77cdeb8a283911101e09fb631b90b2a2e5 | |
parent | e1f821a6eb228fe5fb14d98ee92f1092e75072c6 [diff] [blame] |
Add EC support to x509write_pubkey
diff --git a/include/polarssl/asn1write.h b/include/polarssl/asn1write.h index 6116502..1eb7e69 100644 --- a/include/polarssl/asn1write.h +++ b/include/polarssl/asn1write.h
@@ -29,7 +29,7 @@ #include "asn1.h" -#define ASN1_CHK_ADD(g, f) if( ( ret = f ) < 0 ) return( ret ); else g += ret +#define ASN1_CHK_ADD(g, f) do { if( ( ret = f ) < 0 ) return( ret ); else g += ret; } while( 0 ) #ifdef __cplusplus extern "C" {