llib-lwanboot revision 7c478bd95313f5f23a4c958a745db2134aa03244
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder/*
c63ebf815c8a874525cf18670ad74847f7fc7b26Christian Maeder * CDDL HEADER START
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder *
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder * The contents of this file are subject to the terms of the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder * Common Development and Distribution License, Version 1.0 only
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder * (the "License"). You may not use this file except in compliance
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder * with the License.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder *
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder * or http://www.opensolaris.org/os/licensing.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder * See the License for the specific language governing permissions
f4a2a20e49f41b2afa657e5e64d9e349c7faa091Christian Maeder * and limitations under the License.
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian Maeder *
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder * When distributing Covered Code, include this CDDL HEADER in each
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder * If applicable, add the following below this CDDL HEADER, with the
68d10d143f29fcff3c637ba24f90e983995ceae6Christian Maeder * fields enclosed by brackets "[]" replaced with your own identifying
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich * information: Portions Copyright [yyyy] [name of copyright owner]
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich *
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich * CDDL HEADER END
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich */
a737caf82de97c1907027c03e4b4509eb492b4b8Christian Maeder/*
68d10d143f29fcff3c637ba24f90e983995ceae6Christian Maeder * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
96646aed2ae087b942ae23f15bbe729a8f7c43d3Christian Maeder * Use is subject to license terms.
01e383014b555bbcf639c0ca60c5810b3eff83c0Christian Maeder */
3b06e23643a9f65390cb8c1caabe83fa7e87a708Till Mossakowski
9dac90ec2be2a72e03893095461960d483fe2fc2Christian Maeder#pragma ident "%Z%%M% %I% %E% SMI"
a6db617ca58eb6a0587b6366e913107dfecb71b5Heng Jiang
ce8b15da31cd181b7e90593cbbca98f47eda29d6Till Mossakowski/* LINTLIBRARY */
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder/* PROTOLIB1 */
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder#include <sys/types.h>
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder#include <openssl/ssl.h>
a1ed34933c266ce85066acb0d7b20c90cb8eb213Christian Maeder#include <openssl/x509.h>
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder#include <openssl/pkcs12.h>
8410667510a76409aca9bb24ff0eda0420088274Christian Maeder#include <boot_http.h>
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder#include <bootlog.h>
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder#include <p12access.h>
8410667510a76409aca9bb24ff0eda0420088274Christian Maeder#include <p12aux.h>
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus Luettich#include <parseURL.h>
b1f59a4ea7c96f4c03a4d7cfcb9c5e66871cfbbbChristian Maeder#include <netdb.h>
ad270004874ce1d0697fb30d7309f180553bb315Christian Maeder#include <netboot_paths.h>
4d56f2fa72e4aec20eb827c11ed49c8cbb7014bdChristian Maeder#include <wanboot_conf.h>
4cb215739e9ab13447fa21162482ebe485b47455Christian Maeder#include <bootinfo.h>
8ef75f1cc0437656bf622cec5ac9e8ea221da8f2Christian Maeder