Skip to content
Snippets Groups Projects
Commit 9cca504f authored by deuce's avatar deuce
Browse files

Fix JSDOCS build.

parent bfcdc66a
No related branches found
No related tags found
No related merge requests found
......@@ -701,8 +701,7 @@ js_cryptcon_attrstr_get(JSContext *cx, jsval *vp, CRYPT_CONTEXT ctx, CRYPT_ATTRI
status = cryptGetAttributeString(ctx, type, NULL, &len);
if (cryptStatusError(status)) {
*vp = JSVAL_VOID;
js_cryptcon_error(cx, ctx, status);
return JS_FALSE;
return JS_TRUE; // Do not return JS_FALSE here, or jsdocs build will break.
}
if ((val = (char *)malloc(len)) == NULL) {
JS_ReportError(cx, "malloc(%d) failure", len);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment