Browse Source

der_encode_utf8_string: calm coverity

Steffen Jaeckel 11 years ago
parent
commit
ea9b2a858a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/pk/asn1/der/utf8/der_encode_utf8_string.c

+ 1 - 0
src/pk/asn1/der/utf8/der_encode_utf8_string.c

@@ -79,6 +79,7 @@ int der_encode_utf8_string(const wchar_t *in,  unsigned long inlen,
       out[x++] = (unsigned char)((len>>8)&255);
       out[x++] = (unsigned char)(len&255);
    } else {
+       /* coverity[dead_error_line] */
       return CRYPT_INVALID_ARG;
    }