@@ -266,7 +266,7 @@ typedef int (wc_pem_password_cb)(char* passwd, int sz, int rw, void* userdata);
266266 word32* outLen, int sigAlgo, int keyType, void* ctx)
267267 {
268268 MySignCtx* myCtx = (MySignCtx*)ctx;
269- /* Perform signing using external device/HSM */
269+ // Perform signing using external device/HSM
270270 return myDevice_Sign(myCtx->device, in, inLen, out, outLen);
271271 }
272272 \endcode
@@ -598,14 +598,14 @@ WOLFSSL_API int wc_SignCert(int requestSz, int sType, byte* buf, word32 buffSz,
598598 int derSz;
599599 MySignCtx myCtx;
600600
601- /* Initialize cert and set subject, etc. */
601+ // Initialize cert and set subject, etc.
602602 wc_InitCert(&cert);
603- /* ... set cert fields ... */
603+ // ... set cert fields ...
604604
605- /* Make certificate body */
605+ // Make certificate body
606606 derSz = wc_MakeCert(&cert, derBuf, sizeof(derBuf), NULL, NULL, &rng);
607607
608- /* Sign using callback */
608+ // Sign using callback
609609 derSz = wc_SignCert_cb(cert.bodySz, cert.sigType, derBuf, sizeof(derBuf),
610610 RSA_TYPE, mySignCallback, &myCtx, &rng);
611611 if (derSz > 0) {
0 commit comments