openbsd-ports/devel/cryptopp/patches/patch-asn_cpp

15 lines
394 B
Plaintext
Raw Normal View History

$OpenBSD: patch-asn_cpp,v 1.1 2012/02/29 12:46:30 dcoppa Exp $
--- asn.cpp.orig Wed Feb 29 13:07:29 2012
+++ asn.cpp Wed Feb 29 13:12:13 2012
@@ -348,6 +348,10 @@ void EncodedObjectFilter::Put(const byte *inString, si
if (m_lengthRemaining == 0)
m_state = IDENTIFIER;
+ break;
+ case TAIL:
+ case ALL_DONE:
+ assert(false);
}
if (m_state == IDENTIFIER && m_level == 0)