fix subject in generated certificates

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44149
v19.07.3_mercusys_ac12_duma
Jo-Philipp Wich 9 years ago
parent 0798de785e
commit 542b6c30e5

@ -1,5 +1,5 @@
# #
# Copyright (C) 2010-2014 Jo-Philipp Wich <xm@subsignal.org> # Copyright (C) 2010-2015 Jo-Philipp Wich <jow@openwrt.org>
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information. # See /LICENSE for more information.
@ -8,9 +8,8 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=px5g PKG_NAME:=px5g
PKG_RELEASE:=2 PKG_RELEASE:=3
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)
PKG_USE_MIPS16:=0 PKG_USE_MIPS16:=0
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -19,7 +18,7 @@ define Package/px5g
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=X.509 certificate generator (using PolarSSL) TITLE:=X.509 certificate generator (using PolarSSL)
MAINTAINER:=Jo-Philipp Wich <xm@subsignal.org> MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org>
DEPENDS:=+libpolarssl DEPENDS:=+libpolarssl
endef endef

@ -188,7 +188,7 @@ int selfsigned(char **arg)
} }
memcpy(newc, oldc, delim - oldc); memcpy(newc, oldc, delim - oldc);
newc += delim - oldc; newc += delim - oldc;
*newc++ = ';'; *newc++ = ',';
oldc = delim + 1; oldc = delim + 1;
} while(*delim); } while(*delim);
arg++; arg++;

Loading…
Cancel
Save