Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 2003 - 2007 Pekka Riikonen
+ Copyright (C) 2003 - 2008 Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
*/
-#include "silc.h"
+#include "silccrypto.h"
#include "silcasn1.h"
#include "silcber.h"
SILC_LOG_DEBUG(("Error decoding underlaying node for ANY"));
goto fail;
}
- assert(enc == SILC_BER_ENC_CONSTRUCTED);
+ SILC_VERIFY(enc == SILC_BER_ENC_CONSTRUCTED);
/* Now encode with implicit tagging */
len = silc_ber_encoded_len(tag, d_len, FALSE);
/* Encode empty BER block */
SilcBool val = va_arg(asn1->ap, SilcUInt32);
- assert(indef == FALSE);
+ SILC_VERIFY(indef == FALSE);
if (!val)
break;