View | Details | Raw Unified | Return to bug 37869
Collapse All | Expand All

(-)Http11AprProcessor.java (+9 lines)
Lines 1146-1151 Link Here
1146
                            ByteArrayInputStream stream = new ByteArrayInputStream(data);
1146
                            ByteArrayInputStream stream = new ByteArrayInputStream(data);
1147
                            certs[i] = (X509Certificate) cf.generateCertificate(stream);
1147
                            certs[i] = (X509Certificate) cf.generateCertificate(stream);
1148
                        }
1148
                        }
1149
                    } else if (certLength == 0) {
1150
                        byte[] data = SSLSocket.getInfoB(socket, SSL.SSL_INFO_CLIENT_CERT);
1151
                        if (data != null) {
1152
                            certs = new X509Certificate[1];
1153
                            CertificateFactory cf =
1154
                                CertificateFactory.getInstance("X.509");
1155
                            ByteArrayInputStream stream = new ByteArrayInputStream(data);
1156
                            certs[0] = (X509Certificate) cf.generateCertificate(stream);
1157
                        }
1149
                    }
1158
                    }
1150
                    if (certs != null) {
1159
                    if (certs != null) {
1151
                        request.setAttribute
1160
                        request.setAttribute

Return to bug 37869