Print this page
5878 Additional lint fixes for sunstudio12.1 and more modern OpenSSL
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Reviewed by: Alexander Pyhalov <alp@rsu.ru>

@@ -3776,11 +3776,11 @@
                         /* LINTED E_BAD_PTR_CASE_ALIGN */
                         a = sk_X509_ATTRIBUTE_value(pkey->attributes, i);
                         if (OBJ_obj2nid(a->object) == nid) {
                                 X509_ATTRIBUTE_free(a);
                                 /* LINTED E_BAD_PTR_CAST_ALIGN */
-                                sk_X509_ATTRIBUTE_set(pkey->attributes,
+                                (void) sk_X509_ATTRIBUTE_set(pkey->attributes,
                                     i, attr);
                                 return (KMF_OK);
                         }
                 }
                 if (sk_X509_ATTRIBUTE_push(pkey->attributes, attr) == NULL) {