commit | 894dece46cdef3c5de67b82420a931f571bcfc41 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Thu Aug 23 08:34:32 2012 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Thu Aug 23 08:34:32 2012 +0000 |
tree | 06e3e7ed37a8720d23b2f87a904ebcc8a674dc53 | |
parent | b68cad6cc75a3d08390cf1f30d40253d8dd0d1c9 [diff] [blame] |
- Cleaner return value (for C++)
diff --git a/include/polarssl/cipher.h b/include/polarssl/cipher.h index 02003e8..8224128 100644 --- a/include/polarssl/cipher.h +++ b/include/polarssl/cipher.h
@@ -320,7 +320,7 @@ static inline cipher_type_t cipher_get_type( const cipher_context_t *ctx ) { if( NULL == ctx || NULL == ctx->cipher_info ) - return 0; + return POLARSSL_CIPHER_NONE; return ctx->cipher_info->type; }