Permalink
Browse files

disarm dead code that causes gcc crashes on ARM, thanks Morten Stevens

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@3162 d19b8d6e-7fed-0310-83ef-9ca221ded41b
  • Loading branch information...
1 parent 78b00f3 commit 5b188e8275137178dda2e128e5b7a9b9fae36e43 @Habbie Habbie committed Apr 18, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 pdns/aes/aeskey.c
View
@@ -488,6 +488,7 @@ AES_RETURN aes_decrypt_key192(const unsigned char *key, aes_decrypt_ctx cx[1])
ss[3] ^= ss[2]; k[v(56,(8*(i))+11)] = ss[3]; \
}
+#if 0
AES_RETURN aes_decrypt_key256(const unsigned char *key, aes_decrypt_ctx cx[1])
{ uint_32t ss[9];
#if defined( d_vars )
@@ -536,11 +537,13 @@ AES_RETURN aes_decrypt_key256(const unsigned char *key, aes_decrypt_ctx cx[1])
#endif
return EXIT_SUCCESS;
}
+#endif
#endif
#if defined( AES_VAR )
+#if 0
AES_RETURN aes_decrypt_key(const unsigned char *key, int key_len, aes_decrypt_ctx cx[1])
{
switch(key_len)
@@ -551,6 +554,7 @@ AES_RETURN aes_decrypt_key(const unsigned char *key, int key_len, aes_decrypt_ct
default: return EXIT_FAILURE;
}
}
+#endif
#endif

0 comments on commit 5b188e8

Please sign in to comment.