Commit fcca2ae8 authored by Justin Erenkrantz's avatar Justin Erenkrantz
Browse files

Remove warnings seen with Sun's Forte compiler.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@96818 13f79535-47bb-0310-9956-ffa450edef68
parent c2be11c6
Loading
Loading
Loading
Loading
+2 −1
Changes for mod_ssl.c: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -335,7 +335,8 @@ static int ssl_hook_pre_connection(conn_rec *c, void *csd)
        return DECLINED; /* XXX */
    }

    vhost_md5 = ap_md5_binary(c->pool, sc->vhost_id, sc->vhost_id_len);
    vhost_md5 = ap_md5_binary(c->pool, (unsigned char *)sc->vhost_id,
                              sc->vhost_id_len);

    if (!SSL_set_session_id_context(ssl, (unsigned char *)vhost_md5,
                                    MD5_DIGESTSIZE*2))
+0 −2
Changes for ssl_expr_parse.y: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -151,7 +151,6 @@ regex : T_REGEX {
                                         REG_EXTENDED|REG_NOSUB)) == NULL) {
                    ssl_expr_error = "Failed to compile regular expression";
                    YYERROR;
                    regex = NULL;
                }
                $$ = ssl_expr_make(op_Regex, regex, NULL);
            }
@@ -161,7 +160,6 @@ regex : T_REGEX {
                                         REG_EXTENDED|REG_NOSUB|REG_ICASE)) == NULL) {
                    ssl_expr_error = "Failed to compile regular expression";
                    YYERROR;
                    regex = NULL;
                }
                $$ = ssl_expr_make(op_Regex, regex, NULL);
            }
+1 −1
Changes for ssl_util_ssl.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -386,7 +386,7 @@ BOOL SSL_X509_getCN(apr_pool_t *p, X509 *xs, char **cppCN)
    X509_NAME *xsn;
    X509_NAME_ENTRY *xsne;
    int i, nid;
    char *data_ptr;
    unsigned char *data_ptr;
    int data_len;

    xsn = X509_get_subject_name(xs);