From 9cca504f0d35f96ed70a881b74f1a1a995b50cac Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Fri, 23 Feb 2018 00:31:13 +0000
Subject: [PATCH] Fix JSDOCS build.

---
 src/sbbs3/js_cryptcon.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/sbbs3/js_cryptcon.c b/src/sbbs3/js_cryptcon.c
index 4fe6b8a4b0..bef9abcafb 100644
--- a/src/sbbs3/js_cryptcon.c
+++ b/src/sbbs3/js_cryptcon.c
@@ -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);
-- 
GitLab